package com.woniuxy.cloud.procurementassembly.param;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.util.List;

/**
 * @author 周川雄
 * @date 2022/2/18 14:36
 */
@Data
public class ReceiptParam {
    /**
     * 电池类型
     */
    private List<PayBatteryParam> list;
    /**
     * 订单id
     */
    private Integer orderId;
    /**
     * 订单状态
     */
    @Max(value = 1, message = "请输入1或者0,1收货完成")
    @Min(value = 0, message = "请输入1或者0,0货物不够，暂时不做改动")
    private Integer isReceipt;
}
